
<br>
<div id="Reportemunicipios">
<?php
if(is_array($muni))
{	
?>
<table border="1"  id="informe" class="display">
<thead>
<tr>
<?php
	foreach($muni['indices'] as $key=>$val){ ?>
	<th><?php echo $val;?></th>
	<?php }
	UNSET($muni['indices']) ?>
</tr>
</thead>
<tbody>
<?php
	
	foreach($muni as $j=>$row){
		
		?><tr><?php
		foreach($row as $k=>$v){
	?>
		<td><?php echo $v;?></td>
		<?php } ?>
	</tr>
	<?php
	}
	
?>
</tbody>
</table>

</div>
<?php
}
?>
	<script type="text/javascript" charset="utf-8">
			$(document).ready( function () {
				$('#informe').dataTable( {
					"sDom": 'T<"clear">lfrtip',
					"oTableTools": {
						"sSwfPath": "<?php echo base_url();?>media/js/copy_csv_xls_pdf.swf"
					}
				} );
			} );
		</script>
